/* 
 * File:   tipos_definidos.h
 * Author: Pedro
 *
 * Created on 13 de Agosto de 2010, 14:46
 */

#ifndef TIPOS_DEFINIDOS_H
#define	TIPOS_DEFINIDOS_H
#include <cstdlib>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#define NUMHASH 17
#define NUMRESERVADAS 36
#define TOKEN_IDENTIFICADOR 50
#define TOKEN_INT 1
#define TOKEN_CommercialAnd 2
#define TOKEN_0 3
#define TOKEN_COMMA 4
#define TOKEN_OpenKey 5
#define TOKEN_BooleanTrue 6
#define TOKEN_Final 7
#define TOKEN_ELSE 8
#define TOKEN_9 9
#define TOKEN_LessOrEqual 10
#define TOKEN_CommaPoint 11
#define TOKEN_main 12
#define TOKEN_string 13
#define TOKEN_exclamation 14
#define TOKEN_SUB 15
#define TOKEN_READ 16
#define TOKEN_BOOLEAN 17
#define TOKEN_BYTE 18
#define TOKEN_PIPE 19
#define TOKEN_LessThan 20
#define TOKEN_Plus 21
#define TOKEN_CloseKey 22
#define TOKEN_BooleanFalse 23
#define TOKEN_IF 24
#define TOKEN_Equal 25
#define TOKEN_MoreThanOrEqual 26
#define TOKEN_Division 27
#define TOKEN_WRITELN 28
#define TOKEN_END 29
#define TOKEN_WHILE 30
#define TOKEN_BooleanEqual 31
#define TOKEN_Unlike 32
#define TOKEN_Star 33
#define TOKEN_Write 34
#define TOKEN_Begin 35
#define TOKEN_More 36

using namespace std;

const string SimbolosReservados[36] =   {"int","&",")",",","{","true","ﬁnal",
                                        "else","(","<=",";","main","string","!",
                                        "–","read","boolean","byte","|","<","+","}",
                                        "false","if","=",">=","/","writeln","end","while",
                                        "==","!=","*","write","begin",">"};
const int tokensReservados[36] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,
                                                15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36};



#endif	/* TIPOS_DEFINIDOS_H */

